home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / Re FW_CGraphicContextGX questi < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB  |  [TEXT/ttxt]

  1. Subject:     Re: FW_CGraphicContextGX question
  2. Sent:        8/4/96 12:35 PM
  3. Received:    8/5/96 8:42 AM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >The ODF FW_CGraphicContextGX class constructor is *very* slow the first
  9. >time the class is instantiated. There is a perceptible delay of about 1/2
  10. >to 1 second before the first gx shape is drawn. The odd thing is that
  11. >subsequent instantiations of FW_CGraphicContextGX are significantly faster.
  12. >The delay seems to occur only the first time after a reboot.
  13. >
  14. >I can probably work around the problem by creating a dummy
  15. >FW_CGraphicContextGX class object from my part initialization code and then
  16. >delete it immediately, however the constructor requires a facet as an
  17. >argument. Is there a more elegant solution? 
  18. >
  19. >I’ve noticed that the Developer University project GraphicsGX  on OpenDoc
  20. >DR5 suffers from the same problem. 
  21. >
  22. >Any suggestions?
  23. >
  24. >Thank you,
  25. >Paul Carleton
  26.  
  27. Maybe something from GX gets loaded the first time we instantiate a gx context. We will look into that.
  28.  
  29. Thanks
  30.  
  31. ......................................................................
  32.  Henri Lamiraux                                      lamiraux@apple.com
  33.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  34. ......................................................................
  35.  
  36.  
  37.